package com.example.blog.common;


import com.example.blog.pojo.Result;

public class BlogException extends RuntimeException {
    //定义项目异常
    private Result result=new Result();
    public BlogException(String message) {
        this.result.setCode(-1);
        this.result.setMessage(message);
    }
}
